<template>
  <div>测试组件</div>
</template>

<script setup>
const count = 999
const getCount = () => {
  console.log(count)
}
defineExpose({
  count,
  getCount
})
</script>

<style lang="scss" scoped></style>
